﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using MongoDB.Bson;

namespace DataMongo.Entities
{
    public class UserEmailContacts
    {
        public ObjectId _id { get; set; }
        [Key]
        public int UserEmailId { get; set; }
        public string EmailAddress { get; set; }

   [ForeignKey("UserEmailId")]
        public virtual UserEmails UserEmails { get; set; }
    }
}